<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColTypeToQrcodesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('qrcodes', function (Blueprint $table) {

            $table->string('type')->nullable()->comment("zc:中彩礼盒 sj:三九礼盒 gs:高膳食 gg:葛根解酒 zw:植物" );
            $table->string('type_name')->nullable()->comment('分类名');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
